home *** CD-ROM | disk | FTP | other *** search
- global originalv
-
- on scrollbup
- global originalv
- puppetSprite(1, 1)
- set originalv to the locV of sprite 1
- repeat while the stillDown
- set the memberNum of sprite 15 to 63
- set originalv to originalv + 8
- set the locV of sprite 1 to originalv
- if the locV of sprite 1 > 340 then
- set the locV of sprite 1 to 340
- end if
- updateStage()
- end repeat
- set the memberNum of sprite 15 to 62
- end
-
- on scrollbdown
- global originalv
- puppetSprite(1, 1)
- set originalv to the locV of sprite 1
- repeat while the stillDown
- set the memberNum of sprite 16 to 65
- set originalv to originalv - 8
- set the locV of sprite 1 to originalv
- if the locV of sprite 1 < 110 then
- set the locV of sprite 1 to 110
- end if
- updateStage()
- end repeat
- set the memberNum of sprite 15 to 64
- end
-